package abstractClass;

/**
 * @program: jvm
 * @description
 * @author: tkk fendoukaoziji
 * @create: 2019-02-18 14:49
 **/
public class Test {
    public static void main(String[] args) {
        NormalPeople n1=new NormalPeople();
        n1.sayHello();
        n1.tellWhoAmI();
        SpecialPeople s1=new SpecialPeople();
        s1.sayHello();;
        s1.tellWhoAmI();
        s1.sayDefault();//该方法来自于接口的默认实现方法
    }
}
